#ifndef ZIGBEE3STRUCT_H
#define ZIGBEE3STRUCT_H


#include <QObject>
#include "DataType/ControlPointStruct.h"

class Zigbee3Struct
{
public:
    explicit Zigbee3Struct();
    QByteArray mac() const;
    void setMac(const QByteArray &mac);

    QByteArray nwk() const;
    void setNwk(const QByteArray &nwk);

    quint16 type() const;
    void setType(const quint16 &type);

    QByteArray position() const;
    void setPosition(const QByteArray &position);

    QString name() const;
    void setName(const QString &name);

    QList<ControlPointStruct> pointList() const;
    void setPointList(const QList<ControlPointStruct> &pointList);

    QByteArray pointValue() const;
    void setPointValue(const QByteArray &data);

private:
    QByteArray m_mac;
    QByteArray m_nwk;
    quint16 m_type;
    QByteArray m_position;
    QString m_name;
    QByteArray m_Value;
    QByteArray m_pointValue;
    QList<ControlPointStruct> m_pointList;
};

#endif // ZIGBEE3STRUCT_H
